package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;

import com.sky.entity.Dish;

import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    void saveWithFlavor(DishDTO dishDTO);//保存

    PageResult pageQuery(DishPageQueryDTO dto);//分页

    void deleteBatch(List<Long> ids);//批量删除

    DishVO getByIdWhitFlavor(Long id);//根据id

    void updateWithFlavor(DishDTO dishDTO);//修改

    void startOrStop(Integer status, Long id);


    List<Dish> list(Long categoryId);

    List<DishVO>listWithFlavor(Dish dish);
}
